M=5; N=50; words=[107,56,739,56,107,97,97,107,111,130,421,56,111,391,312,107,111,739,295,391,421,800,756,459,94,97,421,903,9,810,739,119,391,391,739,947,860,392,111,96,9,97,107,107,97,786,111,111,295,786];